<template>
  <div class="help_main">
    <div class="main_centar">
      <div class="help_item">
        <div class="help_left">
          <div><img src="../../assets/image/help_1.png" alt /></div>        
            <div class="left_icon">新手上路</div>
        </div>
        <div class="help_rig">
          <p class="rig_item" @click="register()">
            <i>免费注册</i>
          </p>
          <p class="rig_item" @click="medicine()">
            <i>安全购药</i>
          </p>
          <p class="rig_item" @click="qualifications()">
            <i>所需资质</i>
          </p>
        </div>
      </div>
      <div class="help_item">
        <div class="help_left">
          <img src="../../assets/image/help_2.png" alt />
          <div class="left_icon">配送与支付</div>
        </div>
        <div class="help_rig">
          <p class="rig_item" @click="Distribution">
            <i>配送方式</i>
          </p>
          <p class="rig_item" @click="payment">
            <i>订单支付</i>
          </p>
          <p class="rig_item" @click="Return">
            <i>药品退换</i>
          </p>
          <p class="rig_item" @click="onLine">
            <i>在线支付</i>
          </p>
        </div>
      </div>
      <div class="help_item">
        <div class="help_left">
          <img src="../../assets/image/help_3.png" alt />
          <div class="left_icon">质量保证</div>
        </div>
        <div class="help_rig">
          <p class="rig_item" @click="quality">
            <i>质量担保</i>
          </p>
          <p class="rig_item" @click="service">
            <i>服务担保</i>
          </p>
          <p class="rig_item" @click="user">
            <i>药品配送</i>
          </p>
        </div>
      </div>
      <div class="help_item">
        <div class="help_left">
          <img src="../../assets/image/help_4.png" alt />
          <div class="left_icon">服务保证</div>
        </div>
        <div class="help_rig">
          <p class="rig_item" @click="contact">
            <i>联系我们</i>
            <router-link :to="{ path: '/contact' }"></router-link>
          </p>
          <p class="rig_item" @click="advertisement">
            <i>广告服务</i>
          </p>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  methods: {
    data() {
      return {};
    },
    register() {
      this.$router.push("/register");
    },
    medicine() {
      this.$router.push("/medicine");
    },
    qualifications() {
      this.$router.push("/qualifications");
    },
    Distribution() {
      this.$router.push("/Distribution");
    },
    payment() {
      this.$router.push("/payment");
    },
    Return() {
      this.$router.push("/Return");
    },
    onLine() {
      this.$router.push("/onLine");
    },
    quality() {
      this.$router.push("/quality");
    },
    service() {
      this.$router.push("/service");
    },
    user() {
      this.$router.push("/user");
    },
    brief() {
      this.$router.push("/brief");
    },
    service() {
      this.$router.push("/service");
    },
    advertisement() {
      this.$router.push("/advertisement");
    },
    contact() {
      this.$router.push("/contact");
    },
  },
};
</script>

<style lang="less">
.help_main {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  .main_centar {
    padding: 0;
    margin: 0;
    background: #0000;
    .help_item {
      width: 100%;
      height: 220px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      background: #ffffff;
      border-bottom: 0.01rem solid #f2f2f2;
      box-sizing: border-box;
      .help_left {
        width: 35%;
        height: 100%;
        padding-top: 0.8rem;
        margin: 0 auto;
        text-align: center;
        align-items: center;
        box-sizing: border-box;
        img {
          width: 60px;
          height: 60px;
        }
        .left_icon {
          color: #333333;
          font-size: 0.26rem;
          font-weight: bold;
        }
      }
      .help_rig {
        width: 65%;
        height: 100%;
        align-items: center;
        // margin-top: 0.3rem;
        margin-right: 0.3rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        box-sizing: border-box;
        .rig_item {
          width: 220px;
          height: 68px;
          line-height: 68px;
          text-align: center;
          background: #f8f8f8;
          border: 1px solid #f2f2f2;
          border-radius: 0.068rem;
          margin-top: 0.2rem;
        }
      }
    }
  }
}
footer {
  width: 100%;
  height: 100px;
  line-height: 100px;
  position: absolute;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-top: 0.01rem solid #f2f2f2;
  .footer_center {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 78px;
    .footers {
      width: 50%;
      text-align: center;
      align-items: center;
      color: #d60000;
      font-weight: 500;
      font-size: 26px;
      img {
        background-size: 0.46rem;
        width: 0.46rem;
      }
    }
  }
}
</style>